<!--
 * @Author: lijing
 * @e-mail: 1413979079@qq.com
 * @LastEditors: lijing
 * @Date: 2020-06-21 20:48:27
 * @LastEditTime: 2020-06-23 13:10:22
 * @FilePath: \client\src\components\Mine.vue
 * @Description: 暂时废弃
--> 
<template>
  <div>
    <el-image style="width: 100px; height: 100px" :src="userInfo.avatarUrl" fit="cover"></el-image>
    <div>{{userInfo.name}}</div>
    <div>{{userInfo.username}}</div>
    <div>{{userInfo.createdAt}}</div>
  </div>
</template>

<script lang="ts">
import { Vue, Component } from "vue-property-decorator";
import { State } from "vuex-class";
import request from "../http/request";
import UserInfo from "../model/UserInfo";

@Component
export default class Mine extends Vue {
  @State userInfo: UserInfo;
}
</script>

<style lang="scss" scoped>
</style>